package com.rency.ues.webapp.common;

import java.util.Arrays;
import java.util.List;

public final class Constants {
	
	/**
	 * 主页地址
	 */
	public static final String URL_HOME = "/index.htm";
	
	/**
	 * 登录地址
	 */
	public static final String URL_LOGIN = "/logon.htm";
	
	/**
	 * 请求登录地址
	 */
	public static final String URL_LOGIN_INPUT = "/login.htm";
	
	
	public static final String SYS_WEB_RESOURCE_KEY="WEB_RESOURCE";
	
	public static final String RESPONSE_KEY = "resp";

    public static final String VM_PATH_PREFIX_ERROR = "common/error/";

    /**
     * 页面物理路径前缀:主页面
     */
    public static final String VM_PATH_PREFIX_MAIN = "main/";

    /**
     * 页面物理路径前缀:登录
     */
    public static final String VM_PATH_PREFIX_LOGIN = "login/";

	/**
	 * 页面物理路径前缀:证书
	 */
	public static final String VM_PATH_PREFIX_CERTIFICATION = "certification/";

	/**
	 * 页面物理路径前缀:加解密
	 */
	public static final String VM_PATH_PREFIX_UES = "ues/";

    /**
     * 拦截器中需排除的URL地址
     */
    public static final List<String> INTERCEPTOR_EXCLUDE_URLS = Arrays.asList(URL_LOGIN_INPUT,URL_LOGIN);
	
}